package com.bocloud.cmp.driver.providers.intf;

import com.bocloud.cmp.model.SnapshotModel;
import com.bocloud.cmp.model.VolumeModel;
import com.bocloud.common.model.BsmResult;

public interface VolumeProvider {

	public BsmResult list(String vendor, String region);

	public BsmResult create(String vendor, String region, VolumeModel volume);

	public BsmResult modify(String vendor, String region, VolumeModel volume);

	public BsmResult remove(String volumeId, String vendor, String region);

	public BsmResult detail(String volumeId, String vendor, String region);

	/**
	 * 创建快照
	 * 
	 * @param snapshotModel
	 * @param vendor
	 * @param region
	 * @return
	 */
	public BsmResult snapshot(SnapshotModel snapshotModel, String vendor, String region);
}
